package com.rs.dao;

import com.rs.model.Resign;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface ResignMapper {
    int deleteByPrimaryKey(Integer rg_id);

    int insert(Resign record);

    Resign selectByPrimaryKey(Integer rg_id);

    List<Resign> selectAll();

    int updateByPrimaryKey(Resign record);

	Integer resignAddPC(Resign resign);//添加离职申请

	Integer resignUpdatePC(Resign resign);//修改离职申请

	Integer resignDelPC(Resign resign);//删除离职申请

	List<Resign> resignAllPC();//查询所有申请

	Resign resignByIdPC(Resign resign);//根据Id查询

	List<Resign> resignAllApp();//App查询所有

	Integer resignAddApp(Resign resign);//App添加申请

	Integer resignUpdateApp(Resign resign);//App修改申请

	Integer resignDelApp(Resign resign);//App删除申请

	List<Resign> ResignSelectAll();

	List<Resign> resignSelectByTiaojian(Resign a2);
}